<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <title>Search</title>
  </head>
  <body>
    <form  style="margin:20px;border:1px solid red" method="post" action="/search/news">
        <span>search:</span><input type="text" name="context" id="context"><br/>
        <button type="submit" id="loginBtn">搜索</button>
    </form>
    {% if error %}
        <h1 style="color:red">{{ error }}!</h1>
    {% endif %}
  </body>
</html>
